projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ac5104
)
gtkwidget.c: Use G_VA_COPY instead of va_copy()
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Thu, 8 Mar 2012 10:56:32 +0000
(18:56 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Thu, 8 Mar 2012 10:56:32 +0000
(18:56 +0800)
va_copy() is not universally available, and we already have a G_VA_COPY
macro that emulates the behaviour of va_copy() when it's not available, or
simply calls va_copy() if it's there
gtk/gtkwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index 700b3f9fbd97c9731a051c25dc119fa3ce5238ca..c4c85c9e0cf5cbca840e1165b7b292ba7c8fc9e5 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-842,7
+842,7
@@
gtk_widget_draw_marshallerv (GClosure *closure,
cairo_t *cr;
va_list args_copy;
-
va_copy
(args_copy, args);
+
G_VA_COPY
(args_copy, args);
cr = va_arg (args_copy, gpointer);
cairo_save (cr);